package com.qianqu.lib_base.utils;


import android.support.v4.app.Fragment;

import com.alibaba.android.arouter.launcher.ARouter;

/**
 * ${description}
 *
 * @author weiqiliu
 * @version 1.0 2018/6/25
 */
public class FragmentUtils {
    public static Fragment getHomeFragment() {
        Fragment fragment = (Fragment) ARouter.getInstance().build(RouterUtils.Home_Fragment_Main).navigation();
        return fragment;
    }

    public static Fragment getFindingFragment() {
        Fragment fragment = (Fragment) ARouter.getInstance().build(RouterUtils.Finding_Fragment_Main).navigation();
        return fragment;
    }

    public static Fragment getMessageFragment() {
        Fragment fragment = (Fragment) ARouter.getInstance().build(RouterUtils.Message_Fragment_Main).navigation();
        return fragment;
    }

}
